package com.ruoyi.jzzgl.domain.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class StatisticsVo {
    // 顶部卡片数据
    private Integer totalStations;
    private Integer totalRecords;
    private Integer totalElderlyRecords;
    private Integer todayRecords;
    private Integer todayElderlyRecords;

    // 趋势数据
    private TrendData trend;

    // 站点排行
    private List<RankData> rankData;

    // 年龄分布
    private List<DistributionData> ageDistribution;

    // 性别比例
    private List<DistributionData> genderRatio;

    @Data
    public static class TrendData {
        private List<String> dates;
        private List<Integer> totalCounts;
        private List<Integer> elderlyCounts;
    }

    @Data
    public static class RankData {
        private String stationName;
        private Integer count;
    }

    @Data
    public static class DistributionData {
        private String name;
        private Integer value;
    }
}
